package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author liuy
 * @since 2022-06-20
 */
@TableName("yaolu_bank_flow")
@Data
public class YaoluBankFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店名
     */
    @ExcelProperty(index = 0)
    @TableField("dm")
    private String dm;

    /**
     * 营业日期
     */
    @ExcelProperty(index = 1)
    @TableField("yyr")
    private String yyr;

    /**
     * 支出
     */
    @ExcelProperty(index = 2)
    @TableField("zc")
    private BigDecimal zc;

    /**
     * 收入
     */
    @ExcelProperty(index = 3)
    @TableField("sr")
    private BigDecimal sr;

    /**
     * 余额
     */
    @ExcelProperty(index = 4)
    @TableField("ye")
    private BigDecimal ye;

    /**
     * 摘要
     */
    @ExcelProperty(index = 5)
    @TableField("zy")
    private String zy;
    /**
     * 贷方名称
     */
    @ExcelProperty(index = 6)
    @TableField(exist = false)
    private String dfmc;

    /**
     * 时间
     */
    @ExcelProperty(index = 7)
    @TableField(exist = false)
    private String sj;

    /**
     * 时间
     */
    @ExcelProperty(index = 8)
    @TableField(exist = false)
    private String bh;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

}
